#!/bin/sh
find html -name '*.js' | xargs sed -i "" "s BUILD_BASE_PATH / g"
find html -name '*.js' | xargs sed -i "" "s BUILD_API_HOSTBUILD_API_HOST http://dev.hzero.org:8080 g"
find html -name '*.js' | xargs sed -i "" "s BUILD_API_HOST http://dev.hzero.org:8080 g"
find html -name '*.js' | xargs sed -i "" "s BUILD_CLIENT_ID hzero-front-dev g"
find html -name '*.js' | xargs sed -i "" "s BUILD_WEBSOCKET_HOST http://dev.hzero.org:8080/hpfm/sock-js g"
find html -name '*.js' | xargs sed -i "" "s BUILD_CUSTOMIZE_ICON_NAME customize-icon g"
find html -name '*.js' | xargs sed -i "" "s BUILD_MULTI_SKIN_ENABLE true g"
find html -name '*.js' | xargs sed -i "" "s BUILD_TOP_MENU_UNION_LABEL true g"
find html -name '*.js' | xargs sed -i "" "s BUILD_TOP_MENU_LABELS HZERO_MENU g"
find html -name '*.js' | xargs sed -i "" "s BUILD_ENV_SIGN '' g"

